//是否登录
!local.get("clientToken") && (Modal.toast("登录失效"), setTimeout(() => (location.href = "login.html"), 2000))
//用户名渲染
dq(".username").innerText = local.get("username")
//退出登录
Listener(".logout", "click", () => {
	local.remove("username")
	local.remove("clientToken")
	Modal.toast("退出成功")
	setTimeout(() => (location.href = "login.html"), 2000)
})
